interface Employee{
  id:number,
  name:string,
  username:string,
  password?:string,
  phone:string,
  sex:'男'|'女',
  idNumber:string,
  status:number,
  createTime?:string,
  updateTime?:string,
  createUser?:number,
  updateUser?:number,
}
interface Category{
  id:number,
  name:string,
  type:number,
  sort:number,
  status:number,
  createTime:string,
  updateTime:string,
  createUser:number,
  updateUser:number,
}
interface Dish{
  id:number,
  name:string,
  categoryId:number,
  price:number,
  image:string,
  description:string,
  status:number,
  createTime:string,
  updateTime:string,
  createUser:number,
  updateUser:number,
}
interface DishFlavor{
  id:number,
  dishId:number,
  name:string,
  value:string,
}
interface Order{
  id:number,
  number:number,
  status:number,
  userId:number,
  orderTime:string,
  checkoutTime?:string,
  payMethod?:number,
  payStatus?:number,
  amount:number,
  remark:string,
  phone:string,
  userName:string,
  cancelReason?:string,
  rejectionReason?:string,
  cancelTime?:string,
}
interface OrderDetail{
  id:number,
  name:string,
  image:string,
  orderId:number,
  dishId:number,
  dishFlavor:string,
  number:number,
  amount:number, 
}
export {
  type Employee,
  type Category,
  type Dish,
  type DishFlavor,
  type Order,
  type OrderDetail,
}
